package com.financial.service.heemoney.dto.param;

import com.financial.service.heemoney.dto.businsess.HeemoneySplitAccountBusinessDTO;
import com.financial.service.heemoney.dto.commmon.HeemoneySplitAccoutCommonDTO;

/**
 * @Author: wenguoqiang
 * @Email wguoqiango@163.com
 * @Date: 2019/12/2 0002 下午 6:51
 * @Des 汇收银结算参数模型
 */
public class HeemoneySplitAccountParamDTO extends BaseHeemoneyParamDTO<HeemoneySplitAccoutCommonDTO, HeemoneySplitAccountBusinessDTO> {

    /**
     * 业务参数
     */
    private HeemoneySplitAccountBusinessDTO heemoneySettleAccountBusinessDTO;
    /**
     * 公共参数
     */
    private HeemoneySplitAccoutCommonDTO heemoneySettleAccoutCommonDTO;

    public HeemoneySplitAccountParamDTO(HeemoneySplitAccoutCommonDTO heemoneySettleAccoutCommonDTO, HeemoneySplitAccountBusinessDTO heemoneySettleAccountBusinessDTO) {
        super(heemoneySettleAccoutCommonDTO, heemoneySettleAccountBusinessDTO);
        this.heemoneySettleAccoutCommonDTO = heemoneySettleAccoutCommonDTO;
        this.heemoneySettleAccountBusinessDTO = heemoneySettleAccountBusinessDTO;
    }

    @Override
    protected String getSignStr() {
        return heemoneySettleAccoutCommonDTO.signStr();
    }

    @Override
    protected HeemoneySplitAccountBusinessDTO getBusinessDTO() {
        return heemoneySettleAccountBusinessDTO;
    }

    @Override
    protected HeemoneySplitAccoutCommonDTO getCommonDTO() {
        return heemoneySettleAccoutCommonDTO;
    }


}
